package com.htgd.gardenexpo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 挑战甲板数据
 * </p>
 *
 * @author author
 * @since 2025-04-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ge_con_leisure_data_deck")
@ApiModel(value="GeConLeisureDataDeck对象", description="挑战甲板数据")
public class GeConLeisureDataDeck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "甲板id")
    private String deckId;

    @ApiModelProperty(value = "挑战id")
    private String motionId;

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "状态（1进行中，2结束）")
    private String status;

    @ApiModelProperty(value = "里程（单位：公里，格式：小数点后保留2位）")
    private Double mileage;

    @ApiModelProperty(value = "时间（单位：秒）")
    private Long duration;

    @ApiModelProperty(value = "配速")
    private String speed;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "轨迹")
    private String track;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    private String calorie;


}
